﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

namespace Simple.Services;

/// <summary>
/// 标准文件
/// </summary>
[Table("QHSE_XY_HAV_STANDARD")]
public class QHSESysHavStandard : EntityBase
{
    public QHSESysHavStandard()
    {
    }

    /// <summary>
    /// ID
    /// </summary>
    [Column("HAV_STANDARD_ID")]
    [MaxLength(32)]
    [Key]
    public string Id { get; set; }


    /// <summary>
    /// 标准编码
    /// </summary>
    [Column("STANDARD_CODE")]
    [MaxLength(32)]
    public string? StandardCode { get; set; }
    /// <summary>
    /// 文件名
    /// </summary>
    [Column("FILE_NAME")]
    [MaxLength(100)]
    public string? FileName { get; set; }
    /// <summary>
    /// 文件地址
    /// </summary>
    [Column("FILE_URL")]
    [MaxLength(100)]
    public string? FileUrl { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [Column("NOTE")]
    [MaxLength(200)]
    public string? Note { get; set; }
}
